package com.osdp.uc.api.impl;

import com.osdp.uc.api.IPositionApi;
import com.osdp.uc.dto.PositionDTO;
import com.osdp.uc.service.IUcPositionService;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PositionApiImpl implements IPositionApi {

    private IUcPositionService ucPositionService;

    @Override
    public List<PositionDTO> queryPositionByUserId(String userId) {
        return ucPositionService.queryPositionByUserId(userId);
    }
}
